package com.ict.ais.area.service.dao;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.ict.ais.area.facade.model.PointModel;

import java.util.List;

/**
 * Created by fcc on 2017/4/26.
 */
@Repository
public interface IPointDao {
    void addPoint(@Param("point") PointModel point);

    void rmPoint(@Param("id") int id);

    void updatePoint(@Param("point") PointModel point);

    PointModel getPoint(@Param("id") int id);

    int getid();

    List<PointModel> getPointAll();

    int getidByO(@Param("point") PointModel point);
}
